메인 콘텐츠로 건너뛰기
POST
/
auth
/
jwt
/
login
Login using JWT authentication.
curl --request POST \
  --url https://your_a2_service/auth/jwt/login \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>' \
  --data 'grant_type=<string>' \
  --data 'password=<string>' \
  --data scope= \
  --data 'username=<string>'
{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiOTIyMWZmYzktNjQwZi00MzcyLTg2ZDMtY2U2NDJjYmE1NjAzIiwiYXVkIjoiZmFzdGFwaS11c2VyczphdXRoIiwiZXhwIjoxNTcxNTA0MTkzfQ.M10bjOe45I5Ncu_uXvOmVV8QxnL-nZfcH96U90JaocI",
"token_type": "bearer"
}

Body

application/x-www-form-urlencoded
password
string
required
username
string
required
client_id
string | null
client_secret
string | null
grant_type
string | null
scope
string
default:""

Response

Successful Response

access_token
string
required
token_type
string
required